package com.gudy.counter.Controller;

import com.gudy.counter.bean.CounterRes;
import com.gudy.counter.service.PosiSerivce;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/posi")
@RestController
public class PosiController {
    @Autowired
    PosiSerivce posiSerivce;

    @RequestMapping(value = "queryPosiInfo")
    public CounterRes queryPosiInfo(@RequestParam long uid){
        return posiSerivce.queryPosiInfo(uid);
    }
}
